package _17作业._接口t1;

public class UiTeacher extends Employee implements Paint{

    public UiTeacher() {
    }

    public UiTeacher(String name, String sex, int age) {
        super(name, sex, age);
    }

    @Override
    public void work() {
        System.out.println("姓名为："+getName()+",年龄为："+getAge()+"的"+getSex()+"UI讲师在上课");

    }

    @Override
    public void draw() {
        System.out.println("UI讲师在画画");
    }
}
